<?php
/**
 * View parcial para campo form admin
 * @param campo
 * @param cabecalho
 * @param valor
 * @param required
 * @param hint
 * @param maxLength
 */
$campo = $this->campo;
$cabecalho = $this->cabecalho;
$valor = $this->valor;
$hint = $this->hint;
?>

<!--<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('_js/jquery.jplayer.2.1.0/skin/blue.monday/jplayer.blue.monday.css');?>" />-->
<label for="<?php echo $campo; ?>"><?php echo $cabecalho; ?></label>
<input class="text-input small-input {validate: {required: <?php echo ((isset($this->required) && $this->required == false) || (!empty($this->r) && (!empty($valor )))) ? 'false' : 'true'; ?>}}" type="file" id="<?php echo $campo; ?>" name="<?php echo $campo; ?>" />
<?php 
if(!empty($hint)){
?>
<br />
<small class="hint"><?php echo $hint; ?></small>
<?php 
}
?>
<div class="break"></div>
<?php 
echo (!empty($valor)) ? $this->partial('audio_arquivo.phtml', array('valor' => $valor)) : '';
?>